<!--
 * @Author: your name
 * @Date: 2021-11-04 21:45:01
 * @LastEditTime: 2021-11-06 21:05:15
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \ej-app2\src\components\Tabbar.vue
-->
<template>
    <van-tabbar v-model="active">
        <van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
        <van-tabbar-item icon="search" dot to="/note">订单</van-tabbar-item>
        <van-tabbar-item icon="friends-o" badge="5">帮助</van-tabbar-item>
        <van-tabbar-item icon="setting-o" badge="20" to="/user">我的</van-tabbar-item>
    </van-tabbar>
</template>

<script>
import {ref} from 'vue';
export default {
    setup(){
        const active=ref(0);
        return{
            active
        };
    }
}
</script>

<style scoped>

</style>